package com.chinatelecom.telecollege.sellerrewarding.repository;

import com.chinatelecom.telecollege.sellerrewarding.Entity.crmorder;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by lenovo on 2017/6/21.
 */
public interface crmorderRepo extends PagingAndSortingRepository<crmorder, Integer> {
    List<crmorder> findAll();
    List<crmorder> findByoperatorphone(String operatorphone);
    List<crmorder> findByidservicehall(int idservicehall);
    List<crmorder> findByidarea(int idarea);

}
